import request from '@/utils/request'
export default {
    listEntity() {
        return request({
            url: `/eduservice/admin/teacher/listEntity`,
            method: 'get'
        })
    },
    pageListEntity(page,limit) {
        return request({
            url: `/eduservice/admin/teacher/getTeacherFrontList/${page}/${limit}`,
            method: 'post'
        })
    },
    pageListEntityQuery(page,limit) {
        return request({
            url: `/eduservice/teacher/pageListEntityQuery/${page}/${limit}`,
            method: 'post'
        })
    },
    getById(id){
        return request({
            url: `/eduservice/teacher/getEntity/${id}`,
            method: 'get'
        })
    },
    getEntityById(id){
        return request({
            url: `/eduservice/admin/teacher/getEntity/${id}`,
            method: 'get'
        })
    }
    
}